package net.xdclass;

import net.xdclass.model.UserDO;
import com.baomidou.mybatisplus.extension.service.IService;
import net.xdclass.request.UserLoginRequest;
import net.xdclass.request.UserRegisterRequest;
import net.xdclass.util.JsonData;
import net.xdclass.vo.UserVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 二当家小D
 * @since 2022-05-22
 */

//extends IService<UserDO>
public interface UserService  extends IService<UserDO>{

    /**
     * 用户注册
     * @param registerRequest
     * @return
     */
    JsonData register(UserRegisterRequest registerRequest);


    /**
     * 用户登录
     * @param userLoginRequest
     * @return
     */
    JsonData login(UserLoginRequest userLoginRequest);

    /**
     * geren个人信息查询
     * @return
     */
    UserVO findUserDetail();

}
